package org.nado.member;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

public interface MemberDAO {

	public String getTime();
	
	public MemberVO getName(String userid);
	
	@Select("select mem_no, mem_id, mem_pw, mem_name, mem_tel, mem_email, mem_gender from tbl_member	where mem_id = #{mem_id}")
	public MemberVO read(String mem_id) throws Exception;
	
	public void create(MemberVO vo) throws Exception;

	public void update(MemberVO vo) throws Exception;
	
	@Delete("delete from tbl_member where mem_id = #{mem_id}")
	public void delete(String mem_id) throws Exception;
	
}
